package com.youlu.campus.base.order.enums;

public enum OrderStatusEnum {

    NEW("new", "新订单"),

    PAID_OFF("paid_off", "已付款"),

    SHIPPED("shipped", "已发货"),

    REFUND("refund", "已退款"),

    CANCELLED("cancelled", "已取消"),

    COMPLETE("complete", "已完成");

    private String code;
    private String desc;

    OrderStatusEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
